package tt.dz.entity.base;

import java.io.Serializable;
import java.util.Date;

import tt.dz.util.annotation.Ignore;

/**
 * 电庄信息表，用于在其他页面需要展示的电庄信息。
 * 
 * @author huanghao
 * 
 */

public class OmsChargerShow implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 121834919765069456L;
	
	/** 设备信息,前四位是区号+第五位是3代表3.0版本。后面的11位是从10开始自增的 */
	private String charger_id;
	private String station_id;
	/** 二维码标识 */
	private String qr_code;
	/** 1--直流 2--交流 3--混合 */
	private Integer charger_type;
	/** 接口数量 1：单枪、2：双枪 */
	private Integer port_quantity;
	/** 枪 端口例如12315 */
	private Integer port;
	/** port_no 接口序号,从0开始;,3.0版本新增,对应充电口号 */
	private Integer port_no;
	/** 充电接口类型：\r\n 1.国标；\r\n 2特斯拉；\r\n 3.ABB，\r\n 4其他 */
	private Integer charge_port_type;
	/** 设备信息;GPRS桩专用 */
	private String forward_srv_id;
	/** 充电运营服务商ID */
	private String oper_merchant_id;
	private String entity_type;//0：独立存在(平台管理员)；1：运营商；2：运营商分支机构；3：厂商；4：合作商（例如五十所）。
	private String entity_id;//归属实体id
	/** 0 不可用，1：可用 ;在线桩专用 */
	private Integer wifi_ap;
	/** 安装时间 */
	private Date installation_time;
	/** GPRS信号卡号，由业务规则按一定规律生成 */
	private String card_gprs;
	/** GPRS桩专用，由业务规则按一定规律生成 */
	private String card_wifi;
	/** 所在地电桩桩号，由业务规则按一定规律生成 */
	private String serial_no;
	/** 生产厂商 */
	private String factory_id;
	/** 生产厂商 */
	private String device_id;
	/** 出厂序列号 */
	private String dev_sn;
	/** 软件版本 */
	private String software_version;
	/** 第三方指令集序号，当桩对应协议为第三方协议即协议类型为2时，此字段不能为空 */
	private String instruction_set_no;
	/** 城市代码 */
	private String city_code;
	/** 备注：预留 */
	private String charger_ip;
	/** 0-在线桩（GPRS桩）,1-离线桩（蓝牙桩） */
	@Ignore
	private Integer connect_type;
	/** 0 不加密 ;1 DES ;2 3DES; 3 AES;4 MD5 */
	private Integer encrypt_type;
	private String comm_key;
	/** 0为未激活，1为已激活;蓝牙桩专用 */
	private Integer active_flag;
	/** 蓝牙桩专用id */
	private String ssid;
	/** 协议名称 1：EV3C；2：Protocol Translate；3 P2P */
	private String protocol_type;
	/** 通讯协议版本号 */
	private String protocol_version;
	/** 预约费费率方案号 */
	private Integer rate_schema_bespeak_fee;	
	/** 电费费率方案号 */
	private Integer rate_schema_charge_fee;
	/** 服务费费率方案号 */
	private Integer rate_schema_service_fee;
	/** 电费归属运营服务商ID */
	private String fee_oper_merchant_id;
	/* 是否允许桩生成费用,0：不允许；1：允许 */
	private Integer is_allow_generate_fee;
	/** 创建时间 */
	private Date create_time;
	/** 创建人ID，如果为0000000000为非真实数据。 */
	private String create_oper_id;
	/** 更新时间 */
	private Date update_time;
	/** 更新人id */
	private String update_oper_id;
	private Integer valid_flag;
	//电桩状态； 0: 空闲;1: 预约;2 充电; 3 故障,10:离线，本字段不在电桩表中，是参考状态表中charge_status与online_status结合而成
	private Integer charge_status;
	//如果是 1: 预约;2 充电 ，就记录其开始时间和卡号,参考充电费用表和预约费用表
	private Date charge_status_start_time;
	//如果桩为离线状态online_status 就记录last_connect_time，记录和当前时间的差值 时分秒，传给前台。
	private String offline_time;
	private String user_pay_card;
	//oms_charger_error_record[故障记录表]  故障说明 ，故障开始时间为故障表中create_time
	private String error_msg;
	private String station_name;
	private String factory_name;
	private String entity_name;
	private String address;//站点表中的地址
	
	
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getOffline_time() {
		return offline_time;
	}
	public void setOffline_time(String offline_time) {
		this.offline_time = offline_time;
	}
	public Date getCharge_status_start_time() {
		return charge_status_start_time;
	}
	public void setCharge_status_start_time(Date charge_status_start_time) {
		this.charge_status_start_time = charge_status_start_time;
	}
	public String getUser_pay_card() {
		return user_pay_card;
	}
	public void setUser_pay_card(String user_pay_card) {
		this.user_pay_card = user_pay_card;
	}
	public String getError_msg() {
		return error_msg;
	}
	public void setError_msg(String error_msg) {
		this.error_msg = error_msg;
	}
	public Integer getCharge_status() {
		return charge_status;
	}
	public void setCharge_status(Integer charge_status) {
		this.charge_status = charge_status;
	}
	public String getCharger_id() {
		return charger_id;
	}
	public void setCharger_id(String charger_id) {
		this.charger_id = charger_id;
	}
	public String getStation_id() {
		return station_id;
	}
	public void setStation_id(String station_id) {
		this.station_id = station_id;
	}
	public String getQr_code() {
		return qr_code;
	}
	public void setQr_code(String qr_code) {
		this.qr_code = qr_code;
	}
	public Integer getCharger_type() {
		return charger_type;
	}
	public void setCharger_type(Integer charger_type) {
		this.charger_type = charger_type;
	}
	public Integer getPort_quantity() {
		return port_quantity;
	}
	public void setPort_quantity(Integer port_quantity) {
		this.port_quantity = port_quantity;
	}
	public Integer getPort() {
		return port;
	}
	public void setPort(Integer port) {
		this.port = port;
	}
	public Integer getPort_no() {
		return port_no;
	}
	public void setPort_no(Integer port_no) {
		this.port_no = port_no;
	}
	public Integer getCharge_port_type() {
		return charge_port_type;
	}
	public void setCharge_port_type(Integer charge_port_type) {
		this.charge_port_type = charge_port_type;
	}
	public String getForward_srv_id() {
		return forward_srv_id;
	}
	public void setForward_srv_id(String forward_srv_id) {
		this.forward_srv_id = forward_srv_id;
	}
	public String getOper_merchant_id() {
		return oper_merchant_id;
	}
	public void setOper_merchant_id(String oper_merchant_id) {
		this.oper_merchant_id = oper_merchant_id;
	}
	
	public String getEntity_type() {
		return entity_type;
	}
	public void setEntity_type(String entity_type) {
		this.entity_type = entity_type;
	}
	public String getEntity_id() {
		return entity_id;
	}
	public void setEntity_id(String entity_id) {
		this.entity_id = entity_id;
	}
	public Integer getWifi_ap() {
		return wifi_ap;
	}
	public void setWifi_ap(Integer wifi_ap) {
		this.wifi_ap = wifi_ap;
	}
	public Date getInstallation_time() {
		return installation_time;
	}
	public void setInstallation_time(Date installation_time) {
		this.installation_time = installation_time;
	}
	public String getCard_gprs() {
		return card_gprs;
	}
	public void setCard_gprs(String card_gprs) {
		this.card_gprs = card_gprs;
	}
	public String getCard_wifi() {
		return card_wifi;
	}
	public void setCard_wifi(String card_wifi) {
		this.card_wifi = card_wifi;
	}
	public String getSerial_no() {
		return serial_no;
	}
	public void setSerial_no(String serial_no) {
		this.serial_no = serial_no;
	}
	public String getFactory_id() {
		return factory_id;
	}
	public void setFactory_id(String factory_id) {
		this.factory_id = factory_id;
	}
	public String getDev_sn() {
		return dev_sn;
	}
	public void setDev_sn(String dev_sn) {
		this.dev_sn = dev_sn;
	}
	public String getSoftware_version() {
		return software_version;
	}
	public void setSoftware_version(String software_version) {
		this.software_version = software_version;
	}
	public String getCity_code() {
		return city_code;
	}
	public void setCity_code(String city_code) {
		this.city_code = city_code;
	}
	public String getCharger_ip() {
		return charger_ip;
	}
	public void setCharger_ip(String charger_ip) {
		this.charger_ip = charger_ip;
	}
	public Integer getConnect_type() {
		return connect_type;
	}
	public void setConnect_type(Integer connect_type) {
		this.connect_type = connect_type;
	}
	public Integer getEncrypt_type() {
		return encrypt_type;
	}
	public void setEncrypt_type(Integer encrypt_type) {
		this.encrypt_type = encrypt_type;
	}
	public String getComm_key() {
		return comm_key;
	}
	public void setComm_key(String comm_key) {
		this.comm_key = comm_key;
	}
	public Integer getActive_flag() {
		return active_flag;
	}
	public void setActive_flag(Integer active_flag) {
		this.active_flag = active_flag;
	}
	public String getSsid() {
		return ssid;
	}
	public void setSsid(String ssid) {
		this.ssid = ssid;
	}
	public String getProtocol_type() {
		return protocol_type;
	}
	public void setProtocol_type(String protocol_type) {
		this.protocol_type = protocol_type;
	}
	public String getProtocol_version() {
		return protocol_version;
	}
	public void setProtocol_version(String protocol_version) {
		this.protocol_version = protocol_version;
	}
	 
	public Integer getRate_schema_bespeak_fee() {
		return rate_schema_bespeak_fee;
	}
	public void setRate_schema_bespeak_fee(Integer rate_schema_bespeak_fee) {
		this.rate_schema_bespeak_fee = rate_schema_bespeak_fee;
	}
	public Integer getRate_schema_charge_fee() {
		return rate_schema_charge_fee;
	}
	public void setRate_schema_charge_fee(Integer rate_schema_charge_fee) {
		this.rate_schema_charge_fee = rate_schema_charge_fee;
	}
	public Integer getRate_schema_service_fee() {
		return rate_schema_service_fee;
	}
	public void setRate_schema_service_fee(Integer rate_schema_service_fee) {
		this.rate_schema_service_fee = rate_schema_service_fee;
	}
	public String getFee_oper_merchant_id() {
		return fee_oper_merchant_id;
	}
	public void setFee_oper_merchant_id(String fee_oper_merchant_id) {
		this.fee_oper_merchant_id = fee_oper_merchant_id;
	}
	public Integer getIs_allow_generate_fee() {
		return is_allow_generate_fee;
	}
	public void setIs_allow_generate_fee(Integer is_allow_generate_fee) {
		this.is_allow_generate_fee = is_allow_generate_fee;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public String getCreate_oper_id() {
		return create_oper_id;
	}
	public void setCreate_oper_id(String create_oper_id) {
		this.create_oper_id = create_oper_id;
	}
	public Date getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}
	public String getUpdate_oper_id() {
		return update_oper_id;
	}
	public void setUpdate_oper_id(String update_oper_id) {
		this.update_oper_id = update_oper_id;
	}
	public Integer getValid_flag() {
		return valid_flag;
	}
	public void setValid_flag(Integer valid_flag) {
		this.valid_flag = valid_flag;
	}
	
	 public String getInstruction_set_no() {
		return instruction_set_no;
	}
	public void setInstruction_set_no(String instruction_set_no) {
		this.instruction_set_no = instruction_set_no;
	}
	
	public String getDevice_id() {
		return device_id;
	}
	public void setDevice_id(String device_id) {
		this.device_id = device_id;
	}
	public String getStation_name() {
		return station_name;
	}
	public void setStation_name(String station_name) {
		this.station_name = station_name;
	}
	public String getFactory_name() {
		return factory_name;
	}
	public void setFactory_name(String factory_name) {
		this.factory_name = factory_name;
	}
	public String getEntity_name() {
		return entity_name;
	}
	public void setEntity_name(String entity_name) {
		this.entity_name = entity_name;
	}
	
}
